package com.nxu.admin.service.impl;

import com.nxu.admin.bean.Dept;
import com.nxu.admin.mapper.DeptMapper;
import com.nxu.admin.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author wen
 * Date 2021-12-04
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    DeptMapper deptMapper;

    public Dept getById(Long id){
        return deptMapper.getDept(id);
    }
}
